package com.xiangwei.dao;

import java.util.Map;

import com.xiangwei.entity.ScanRecord;

public interface ScanRecordMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ScanRecord record);

    int insertSelective(ScanRecord record);

    ScanRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ScanRecord record);

    int updateByPrimaryKey(ScanRecord record);
    
    int findScanrecordCountInDay(Map<String,Object> map);
    
    int getScanrecordCount(Map<String,Object> map);
    
    int insertScanrecord(Map<String,Object> map);
    
    ScanRecord selectByOpenid(Map<String,Object> map);
    
    int findScanCountByQrcode(Map<String,Object> map);
    
    ScanRecord findRecordByScanTime(Map<String,Object> map);
    
    int updateRecord(Map<String,Object> map);
}